package com.example.gty.entity;

import com.example.gty.utils.BaseUtil;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;
import javax.persistence.*;
@Data
@NoArgsConstructor
@AllArgsConstructor
public class Teacher  {
    @Id
    @Column(name = "TNO")
    private String tno;

    @Column(name = "TNAME")
    private String tname;

    @Column(name = "IMG")
    private String img;

    @Column(name = "SEX")
    private String sex;

    @Column(name = "AGE")
    private Integer age;

    @Column(name = "TEL")
    private String tel;

    @Column(name = "CREATE_TIME")
    private Date createTime;

    /**
     * @return TNO
     */
    public String getTno() {
        return tno;
    }

    /**
     * @param tno
     */
    public void setTno(String tno) {
        this.tno = tno;
    }

    /**
     * @return TNAME
     */
    public String getTname() {
        return tname;
    }

    /**
     * @param tname
     */
    public void setTname(String tname) {
        this.tname = tname;
    }

    /**
     * @return IMG
     */
    public String getImg() {
        return img;
    }

    /**
     * @param img
     */
    public void setImg(String img) {
        this.img = img;
    }

    /**
     * @return SEX
     */
    public String getSex() {
        return sex;
    }

    /**
     * @param sex
     */
    public void setSex(String sex) {
        this.sex = sex;
    }

    /**
     * @return AGE
     */
    public Integer getAge() {
        return age;
    }

    /**
     * @param age
     */
    public void setAge(Integer age) {
        this.age = age;
    }

    /**
     * @return TEL
     */
    public String getTel() {
        return tel;
    }

    /**
     * @param tel
     */
    public void setTel(String tel) {
        this.tel = tel;
    }

    /**
     * @return CREATE_TIME
     */
    public Date getCreateTime() {
        return createTime;
    }

    /**
     * @param createTime
     */
    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }
}